package com.lanyou.esb.web.param;


import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.lanyou.cook.common.Constants;

public class FtpLogParam {

	private String id;//FTP接口执行日志表ID
	
	private String sourceAddress;//源主机地址
	
	private String targetAddress;//目标主机地址
	
	private String interfaceName;//接口名称
	
	private String fileName;//文件名称
	
	private String fileSize;//文件大小
	
	
	private String transportDate;//文件传输开始时间
	
	private String transportResult;//传输结果
	
	private String transportResultDes;//传输结果描述
	
	private String createTime;
	private String endTime;
	
	
	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getEndTime() {
		return endTime;
	}
	
	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getSourceAddress() {
		return sourceAddress;
	}

	public void setSourceAddress(String sourceAddress) {
		this.sourceAddress = sourceAddress;
	}

	public String getTargetAddress() {
		return targetAddress;
	}

	public void setTargetAddress(String targetAddress) {
		this.targetAddress = targetAddress;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public String getFileSize() {
		return fileSize;
	}

	public void setFileSize(String fileSize) {
		this.fileSize = fileSize;
	}

	

	public String getTransportDate() {
		return transportDate;
	}

	public void setTransportDate(String transportDate) {
		this.transportDate = transportDate;
	}

	public String getTransportResult() {
		return transportResult==null?"":transportResult;
	}

	public void setTransportResult(String transportResult) {
		this.transportResult = transportResult;
	}

	public String getTransportResultDes() {
		return transportResultDes;
	}

	public void setTransportResultDes(String transportResultDes) {
		this.transportResultDes = transportResultDes;
	}

	public String getInterfaceName() {
		return interfaceName==null?"":interfaceName;
	}

	public void setInterfaceName(String interfaceName) {
		this.interfaceName = interfaceName;
	}
	
	
	public Date getBeginOfCreateTime() {
		return beginOfCreateTime;
	}

	public void setBeginOfCreateTime(Date beginOfCreateTime) {
		this.beginOfCreateTime = beginOfCreateTime;
	}

	public Date getEndOfCreateTime() {
		return endOfCreateTime;
	}

	public void setEndOfCreateTime(Date endOfCreateTime) {
		this.endOfCreateTime = endOfCreateTime;
	}

	@DateTimeFormat(pattern = Constants.DATETIME_PATTERN_1)
	private Date beginOfCreateTime;
	
	@DateTimeFormat(pattern = Constants.DATETIME_PATTERN_1)
	private Date endOfCreateTime;
	
}
